package zplh.com.commonlibrary.utils;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * Created by yong hao zeng on 2018/6/29.
 */
public class DialogUtils {

        //圆形dialog
       public static ProgressDialog creatCircleDialog(Context context, String msg){
           ProgressDialog progressDialog = new ProgressDialog(context,ProgressDialog.STYLE_SPINNER);
           progressDialog.setCancelable(true);
           progressDialog.setCanceledOnTouchOutside(false);
           progressDialog.setIndeterminate(true);
           progressDialog.setMessage(msg);
           return progressDialog;

       }



}
